'''
Created on 2024年7月24日

@author: Administrator
'''

from eleventh_chapter.survey import AnonymousSurvey

question = "What language did you first learn to speak?"
language_survey = AnonymousSurvey(question)

language_survey.show_question()

print("Enter 'q' at any time to quit.\n")

while True:
    response = input("Language: ")
    if response == 'q':
        break
    language_survey.store_response(response)
    
print("\nThank you to everyone who participated in the survey!")
language_survey.show_results()





